Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / INList<T> Interface / Remove Method


In This Topic
    Remove Method (INList<T>)
    In This Topic
    Removes the first occurrence of the specified item in the list, by starting the search from the specified index.
    Syntax
    'Declaration
     
    
    Function Remove( _
       ByVal item As T, _
       ByVal startFrom As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As INList(Of T)
    Dim item As T
    Dim startFrom As System.Integer
    Dim value As System.Integer
     
    value = instance.Remove(item, startFrom)
    System.int Remove( 
       T item,
       System.int startFrom
    )

    Parameters

    item
    startFrom

    Return Value

    The index at which the item was found and removed, or -1 if the item was not found.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also